////////////////////////////////////////////////////////////////////////////
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
//  Copyright (c) Microsoft Corporation.  All rights reserved.
//  Portions Copyright (c) Kentaro Sekimoto All rights reserved.
//
////////////////////////////////////////////////////////////////////////////

#include "tinyhal.h"

//--//

#if !defined(DRIVER_PAL_BUTTON_MAPPING)
#define DRIVER_PAL_BUTTON_MAPPING  \
    {GPIO_PIN_NONE,BUTTON_NONE}, \
    {GPIO_PIN_NONE,BUTTON_NONE}, \
    {GPIO_PIN_NONE,BUTTON_NONE}, \
    {GPIO_PIN_NONE,BUTTON_NONE}, \
    {GPIO_PIN_NONE,BUTTON_NONE}, \
    {GPIO_PIN_NONE,BUTTON_NONE}, 
#endif


#if defined(ADS_LINKER_BUG__NOT_ALL_UNUSED_VARIABLES_ARE_REMOVED)
#pragma arm section rwdata = "g_GPIO_BUTTON_Config"
#endif

GPIO_BUTTON_CONFIG g_GPIO_BUTTON_Config =
{
    { FALSE }, // HAL_DRIVER_CONFIG_HEADER Header;
    { 
      DRIVER_PAL_BUTTON_MAPPING
    },
};

#if defined(ADS_LINKER_BUG__NOT_ALL_UNUSED_VARIABLES_ARE_REMOVED)
#pragma arm section rwdata
#endif


